//
//  RankTableViewCell.m
//  EasyFM
//
//  Created by lanou on 16/8/8.
//  Copyright © 2016年 Changyun Liu. All rights reserved.
//

#import "RankTableViewCell.h"


@implementation RankTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setupCellWithModel:(RankModels *)model array:(NSMutableArray *)array
{
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:model.coverPath] placeholderImage:[UIImage imageNamed:@"1004"]];
    self.titleLabel.text = model.title;
    
    self.firstLabel.text = array[0];
    self.secondLabel.text = array[1];
    self.thirdLabel.text = array[2];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
